﻿CREATE PROCEDURE dbo._CreateObject
(@ObjectName sysname,
 @ObjectText varchar(8000)
)AS SET NOCOUNT ON

SET NOCOUNT ON

DECLARE @Exec varchar(8000)
SET @EXEC = dbo._CreateOrAlter(@ObjectName,@ObjectText)

PRINT '
***********************************************************
'+SUBSTRING(@EXEC,1,128)+'
***********************************************************'

EXEC (@EXEC)

